package de.wbh.gwt.form.layouter.gwt.rpc;

import java.io.Serializable;
import java.util.List;

import com.google.gwt.rpc.client.RpcService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("pcfService")
public interface PcfService extends RpcService {

	public static class PositionedField implements Serializable {
		public int x;
		public int y;
		public int width;
		public int height;
		public String id;
	}

	List<PositionedField> getPositionedFields(String pcfName);

	void updatePcf(String pcfName, List<PositionedField> positionedFields);

}
